package com.jews.example.demo.domain.user.response;

import com.jews.common.constants.ValidStatus;
import com.jews.common.model.AbstractJpaResponse;
import lombok.Getter;
import lombok.Setter;

/**
 * 控制层(controller)响应对象
 * 命名规则：XxxResponse；继承AbstractJpaResponse
 *
 * @author JewsChen
 * @title: UserResponse
 * @date 2022/11/30 0:02
 */
@Getter
@Setter
public class UserResponse extends AbstractJpaResponse {

    /**
     * 手机号
     */
    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户名
     */
    private String username;

    /**
     * 部门ID
     */
    private Long departmentId;

    /**
     * 额外信息
     */
    private String extInfo;

    /**
     * 数据状态
     */
    private ValidStatus validStatus;
}
